$OpenBSD: patch-modules_websocket_ws_handshake_c,v 1.1 2013/04/16 11:13:04 sthen Exp $
--- modules/websocket/ws_handshake.c.orig	Sun Mar 31 17:56:22 2013
+++ modules/websocket/ws_handshake.c	Sun Mar 31 17:56:38 2013
@@ -114,7 +114,7 @@ int ws_handle_handshake(struct sip_msg *msg)
 	str key = {0, 0}, headers = {0, 0}, reply_key = {0, 0};
 	unsigned char sha1[SHA_DIGEST_LENGTH];
 	unsigned int hdr_flags = 0, sub_protocol = 0;
-	int version;
+	int version = 0;
 	struct hdr_field *hdr = msg->headers;
 	struct tcp_connection *con;
 	ws_connection_t *wsc;
